From: Florian Müllner Date: Tue, 12 Jan 2021 16:31:15 +0000 (+0100) Subject: weather: Provide application-id and contact-info X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~626 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d5ca1bc62f4e5d8afe1631f03fba9b241944239e;p=gnome-shell.git weather: Provide application-id and contact-info Those are now required in order to use any online providers. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3577 Part-of: --- diff --git a/js/misc/weather.js b/js/misc/weather.js index 0c293bf25..a8b8f6cac 100644 --- a/js/misc/weather.js +++ b/js/misc/weather.js @@ -72,7 +72,11 @@ var WeatherClient = class { GWeather.Provider.METAR | GWeather.Provider.MET_NO | GWeather.Provider.OWM; - this._weatherInfo = new GWeather.Info({ enabled_providers: providers }); + this._weatherInfo = new GWeather.Info({ + enabled_providers: providers, + application_id: 'org.gnome.Shell', + contact_info: 'https://gitlab.gnome.org/GNOME/gnome-shell/-/raw/master/gnome-shell.doap', + }); this._weatherInfo.connect_after('updated', () => { this._lastUpdate = GLib.DateTime.new_now_local(); this.emit('changed');